package com.zsx.shopping.user.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ReceiveAddressForm {

    @NotBlank(message = "收货人不能为空")
    private String name;

    @NotBlank(message = "手机号码不能为空")
    private String phone;

    @NotBlank(message = "省份不能为空")
    private String province;

    @NotBlank(message = "城市不能为空")
    private String city;

    @NotBlank(message = "区域不能为空")
    private String region;

    @NotBlank(message = "详细地址不能为空")
    private String detailAddress;
}
